
public class MultiplicativeExpr2 {
	MultiplicativeExpr3 me3;
	MultiplicativeExpr2 me2;
	int lineNum;
	int charPos;
	
	public MultiplicativeExpr2 ( MultiplicativeExpr3 me3, MultiplicativeExpr2 me2, int line, int charP){
		this.me2 = me2;
		this.me3 = me3;
		this.lineNum = line;
		this.charPos = charP;
	}
	public String toString(){
		String ret = "";

		String s = "";

		if (me3!= null) {
			s +=  me3.toString();
		}
		if (me2 != null) {
			s +=  me2.toString();
		}

		return ret+s;
	}
	public void check(Type t) throws SemanticException {
		if (me3!= null) {
			me3.check(t);
		}
		if (me2 != null) {
			me2.check(t);
		}

	}
}
